import * as http from '../http/http'

export function getData () {
  return http.get('../../static/test.json')
}
// 用户信息
export function getUser (params) {
  return http.get('users', params)
}
// 消息列表
export function getMessageList (params) {
  return http.post('message/list', params)
}
// 上传附件
export function upload (params) {
  return http.post('upload', params)
}
// 规章新增
export function rulseAdd (params) {
  return http.post('rules/add', params)
}
// 规章删除
export function rulseDelete (params) {
  return http.post('rules/delete', params)
}
// 规章编辑
export function rulseEdit (params) {
  return http.post('rules/edit', params)
}
